import 'package:flutter/material.dart';

class FYFilterViewModel extends ChangeNotifier{

  //无谷蛋白
  bool _isGlutenfree = false;
  //有无乳糖
  bool _isLactorsefree = false;
  //素食主义
  bool _isVegetarian = false;
  //严格素食主义
  bool _isVegan = false;

  bool get isGlutenfree => _isGlutenfree;

  set isGlutenfree(bool value) {
    _isGlutenfree = value;
    notifyListeners();
  }

  bool get isVegan => _isVegan;

  set isVegan(bool value) {
    _isVegan = value;
    notifyListeners();
  }

  bool get isVegetarian => _isVegetarian;

  set isVegetarian(bool value) {
    _isVegetarian = value;
    notifyListeners();
  }

  bool get isLactorsefree => _isLactorsefree;

  set isLactorsefree(bool value) {
    _isLactorsefree = value;
    notifyListeners();
  }


}